<!DOCTYPE html>
<html>
<head>
    <title></title>
		<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
			<#if shiro.hasPermission("noc:nocmsg:update")>
            <a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
			</#if>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
														                    <div class="form-group">
                        <div class="col-sm-2 control-label">标志位</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="nocMsg.flag" placeholder="标志位" disabled="disabled"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">别名</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="nocMsg.remark" placeholder="别名" disabled="disabled"/>
                        </div>
                    </div>

            <div class="form-group">
                <div class="col-sm-2 control-label">签名标签</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="nocMsg.label" placeholder="[金诺会展]"/>
                </div>
            </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">短信模板ID</div>
                        <div class="col-sm-10">
                            <textarea type="text" class="form-control" rows="5" v-model="nocMsg.content" placeholder=""></textarea>
                            <!--<input type="text" class="form-control" v-model="nocMsg.content" placeholder="{0}您已成功预登记为{1}参观观众！以下为您的入场门票链接 {2} 7月18-22日青岛国际博览中心(即墨区温泉镇温泉二路7-1号)全新阵容，世界顶级智能制造规模.询4006767200 回T退"/>-->
                        </div>
                    </div>


							            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" id="btnSaveOrUpdate" data-loading-text="保存中..." @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="${request.contextPath}/statics/js/modules/noc/nocmsg.js?_${.now?long}"></script>
</body>
</html>